import java.awt.Point;

public class Path {
	
	private double startX, startY;
	private double currentX, currentY;
	
	private long elapsedTime;
	private double elapsedDistance;
	
	public Path(double cstartX, double cstartY){
		startX = cstartX;
		startY = cstartY;
		currentX = cstartX;
		currentY = cstartY;
		elapsedTime = 0;
		elapsedDistance = 0.0;
	}
	
	public Point addTravelDistance(long l, int traversalSpeed){return new Point((int)currentX,(int)currentY);}
	
	public double getStartX(){return startX;}
	public double getStartY(){return startY;}
	public double getCurrentX(){return currentX;}
	public double getCurrentY(){return currentY;}
	public long getElapsedTime(){return elapsedTime;}
	public double getElapsedDistance(){return elapsedDistance;}
	
	public void setStartX(double ssx){startX = ssx;}
	public void setStartY(double ssy){startY = ssy;}
	public void setCurrentX(double scx){currentX = scx;}
	public void setCurrentY(double scy){currentY = scy;}
	public void setElapsedTime(long set){elapsedTime = set;}
	public void setElapsedDistance(double sed){elapsedDistance = sed;}
}
